﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Randata.Test
{
    [TestClass]
    public class DecimalTest
    {

        [TestMethod]
        public void DecimalDataProvider_Should_work()
        {
            decimal d = DataProvider.Any<decimal>();
        }

        //[TestMethod]
        //public void DecimalDataProvider_Should_give_diferent_values()
        //{
        //    decimal d1 = DataProvider.Any<decimal>();

        //    decimal d2 = DataProvider.Any<decimal>();

        //    Assert.AreNotEqual(d1, d2, "The values must to be diferents.");
        //}

        //[TestMethod]
        //public void DoubleDataProvider_Should_not_be_a_integer()
        //{
        //    decimal d = DataProvider.Any<decimal>();

        //    int aux = (int)d;

        //    Assert.AreNotEqual(d - aux, 0, "The value must be a real, not an integer.");
        //}


    }
}
